package com.cardvalue.sys.entity;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * 消息
 * Created by cardvalue on 2016/5/12.
 */
public class Message extends RealmObject{
    @PrimaryKey
    private String id;

    private String title;

    private String content;

    private String createTime;

    public void setId(String id){
        this.id = id;
    }
    public String getId(){
        return this.id;
    }
    public void setTitle(String title){
        this.title = title;
    }
    public String getTitle(){
        return this.title;
    }
    public void setContent(String content){
        this.content = content;
    }
    public String getContent(){
        return this.content;
    }
    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }
    public String getCreateTime(){
        return this.createTime;
    }


    private  int code;

    private String error;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

}
